﻿using Autofac;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeiDuan.Service;

namespace B2B.Service.Impl
{
    public class BaseService:IServiceInjection
    {
        public delegate void onCreate(IWeiDuanService service);
        protected event onCreate eventCreate;

        protected IWeiDuanService mWeiDuanService = null;
        
        public void Injection(IWeiDuanService service)
        {
            mWeiDuanService = service;
            eventCreate(service);
        }
    }
}
